#include "GameLose.h"

GameLose::GameLose(
	WINAPP*  a_app,
	WINFPS*  a_fps,
	WINTIME* a_time,
	D3DF*    a_d3d,
	DINF*    a_din,
	bool     a_renew)
{
	m_app  = a_app;
	m_fps  = a_fps;
	m_time = a_time;
	m_d3d  = a_d3d;
	m_din  = a_din;

	strcpy_s(m_name,32,"GameLose");
	m_selfId = GAMELOSE;
	m_swapId = GAMELOSE;
	m_completed = false;
	m_renew = a_renew;
}

void GameLose::init()
{

}

void GameLose::reset()
{

}

void GameLose::release()
{

}

void GameLose::input()
{
	m_din->acquire();
}

void GameLose::update()
{

}

void GameLose::draw()
{
	m_d3d->drawBegin();
	m_d3d->drawText(m_name,V2D_ZERO,CL_RED);
	m_d3d->drawEnd();
}

void GameLose::pre()
{
	m_fps->update();
	m_time->update();
}

void GameLose::post()
{

}